]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Really hide 'Show Keyboard Layout' on the lock screen
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Oct 2012 02:29:21 +0000 (22:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Oct 2012 19:34:10 +0000 (15:34 -0400)
We have to set _showLayoutItem.actor.visible,
not _showLayoutItem.visible.

js/ui/status/keyboard.js

index fb9e0c9622c02f3b91d7ccd7020a1cbdf91d8c80..f12c787d5aa48fb21956a76353c8a7f8595ed3ad 100644 (file)
@@ -238,7 +238,7 @@ const InputSourceIndicator = new Lang.Class({
         // but at least for now it is used as "allow popping up windows
         // from shell menus"; we can always add a separate sessionMode
         // option if need arises.
-        this._showLayoutItem.visible = Main.sessionMode.allowSettings;
+        this._showLayoutItem.actor.visible = Main.sessionMode.allowSettings;
     },
 
     _currentInputSourceChanged: function() {